package wsserver;

import org.springframework.stereotype.Component;

import javax.jws.WebService;

/**
 * Created by lijian on 2020/11/21.
 */
@Component
@WebService(
        name = "SimpleServiceDemo",
        targetNamespace = "http://wsserver.com",
        endpointInterface = "wsserver.SimpleServiceDemo")
public class SimpleServiceDemoImpl implements SimpleServiceDemo {

    public String doService(String data) {
        System.out.println("接收请求数据:" + data);
        return "服务端调用成功";
    }
}
